import request from '@/utils/request'
import qs from 'qs'
export function login(data) {
  return request({
    url: '/login',
    method: 'post',
    params: data
  })
}
export function logout() {
  return request({
    url: '/logout',
    method: 'post'
  })
}
// 获取侧边栏菜单
export function getMenu () {
  return request({
    url: '/sys/getMenu',
    method: 'post'
  })
}
